package com.shy.service;

import com.github.pagehelper.PageInfo;
import com.shy.entity.Customer;

import java.util.List;

public interface CustomerService {
    Boolean saveCustomer(Customer customer);

    PageInfo<Customer> queryCustomerList(Integer current, Integer pageSize);

    /**
     * 查询客户列表
     * @return
     */
    List<Customer> queryCustomerLists(List<Integer> ids);
    /**
     * 查询客户列表
     * @return
     */
    List<Customer> queryCustomerList();

    Customer queryCustomerById(Integer id);
}
